package com.imooc.mall.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mall.common.ResultInfo;
import com.imooc.mall.pojo.Product;

public interface IProductService {

    ResultInfo<PageInfo> list(Integer categorId, Integer pageNum, Integer pageSize);

    Product findById(Integer productId);
}
